package com.zkjl.protect_business.service;

import com.zkjl.protect_business.dto.AssessmentPoliticalDTO;
import com.zkjl.protect_business.dto.PageBaseDTO;
import com.zkjl.protect_business.dto.SortDTO;
import com.zkjl.protect_business.entity.AssessmentPolitical;
import com.zkjl.protect_business.vo.statistic.GroupVO;
import org.springframework.data.domain.PageImpl;

import java.util.List;

public interface AssessmentPoliticalService {


    /**
     * 创建政治考核
     *
     * @param assessmentPoliticalDTO
     * @param businessId
     * @return
     */
    AssessmentPolitical save(AssessmentPoliticalDTO assessmentPoliticalDTO, String businessId);

    /**
     * 分页查询
     * @param pageBaseDTO
     * @param sortDTO
     * @param org
     * @param assessmentTime
     * @return
     */
    PageImpl<AssessmentPolitical> page(PageBaseDTO pageBaseDTO, SortDTO sortDTO, String org, Long assessmentTime);


    /**
     * 删除
     * @param id
     * @return
     */
    Boolean del(String id);


    /**
     * 获取政治考核详情
     * @param id
     * @return
     */
    AssessmentPolitical get(String id);






}
